package com.share.homestay.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.TableName;


/**
 * (HostelOrders)表实体类
 *
 * @author makejava
 * @since 2024-02-03 21:52:23
 */
@TableName("hostel_orders")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class HostelOrders implements Serializable {
    private static final long serialVersionUID = 2875689438097011563L;
    //    测试
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    private String orderNum;

    private Long userId;

    private Long hostelId;

    private Double orderMoney;

    private Double preferential;

    private Integer orderStatus;

    private String address;

    private String placeOrder;

    private Integer payManner;

    private Date payTime;

    private Date startTime;

    private Date endTime;

    private Date createTime;

    private String createBy;

    private Date updateTime;

    private String updateBy;

    private String score;
    private String remark;

    private SysUser sysUser;
    private HostelSystem hostelSystem;


}

